package com.example.bysj.domain.authority;
//201902104061徐中堂

import lombok.*;

import java.io.Serializable;

@ToString
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Resource implements Comparable<Resource>, Serializable {
	private Integer id;
	private String name;
	private String resourceType;
	private String uri;
	private String permission;
	private int parentId;
	private int parentIds;
	private int avaliable;
	@Override
	public int compareTo(Resource o) {
		// TODO Auto-generated method stub
		return this.id - o.id;
	}
}
